package com.hospital.demo.mapper.zhangweibo;

import com.hospital.demo.model.zhangweibo.Financemanage;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface FinancemanageMapper {
    //查询全部记录
    @Select("SELECT * from financemanage")
    List<Financemanage> SelectAllFM();
    //删除信息
    @Delete("delete from financemanage where Financemanage.fmid=#{fmid}")
    Integer DelectFM(@Param("fmid") Integer fmid);
}
